<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<!--查看订单-->
<table>
    <thead>
    <th>图片</th>
    <th>用户</th>
    <th>商家</th>
    <th>商品</th>
    <th>商品单价</th>
    <th>订单金额</th>
    </thead>
    <tbody>
    <tr th:each="order : ${orders}">
        <td><img style="width:700px;height:500px" th:src="@{'/photo/'+${order.goods.avatar}}"></td>
        <td th:text="${order.username}"></td>
        <td th:text="${order.marketerName}"></td>
        <td th:text="${order.goods.goodsName}"></td>
        <td th:text="${order.goods.goodsPrice}"></td>
        <td th:text="${order.money}"></td>
    </tr>
    </tbody>
</table>
</body>
</html>